<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>    
    <title></title>     
    <script src="../../Scripts/jquery.js" type="text/jscript"></script>
    <script src="../../Scripts/jquery.form.js" type="text/jscript"></script>
    <script src="../../Scripts/main_page.js" type="text/jscript"></script>
    <template:get name='scripts'/>
    <link rel="Stylesheet" href="../../Styles/main_page.css" type="text/css" />
    <template:get name='csss'/>
</head>
<body class="body_stl">    
	<div id="error"></div>
    <div class="back_stl" id="first_back" >
        <div class="bg_img_stl" id="logo">            
        </div>
            <template:get name='logined' role='user'/>
            <template:get name='unlogined' role='guest'/>              
        </div>
    <div class="back_stl" id="second_back">
         <a class="menu_btn menu_text_stl" id="A1" href="/index.jsp">Главная</a>
         <a class="menu_btn menu_text_stl" id="A2" href="/categories.jsp">Каталог</a>
         <a class="menu_btn menu_text_stl" id="A3" href="/basket.jsp">Корзина</a>
         <a class="menu_btn menu_text_stl" id="A4">О нас...</a>
         <div id="quick_search">
            <input class="top_inpt_stl" id="search_txt" type="text" />
            <a class="log_reg_btn top_text_stl" id="search_btn" onclick="SubmitSearch();">Искать...</a>
         </div>
    </div>        
    <div class="back_stl" id="third_back">
        <div class="center_pnl" id="content_div">
        	<template:get name='content'/>
        	<template:get name='guest_content' role='guest'/>
        	<template:get name='user_content' role='user'/>
        	<template:get name='shop_admin_panel' role='shop_admin'/>  
        	<template:get name='news_admin_panel' role='news_admin'/>  
        </div>
        <div class="center_pnl" id="right_clmn_div">
        	<template:categories/>
        	<template:get name='cats_tools' role='shop_admin'/>
        </div>
    </div>    
    </body>
</html>
